﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using HexagonWeb.Models;

namespace HexagonWeb.IDAL
{
    public class WebDbContext : DbContext
    {

        public DbSet<User> Users { get; set; }

        public DbSet<Airline> Airlines { get; set; }

        public DbSet<Seat> Seats { get; set; }

        public DbSet<Ticket> Tickets { get; set; }

        public WebDbContext()
            : base("DefaultConnection")
        {  
        }
    }
}